window.onload=function() {
    var link = document.getElementById('download');

    link.innerHTML = 'facebook';
    link.setAttribute('href', 'http://facebook.com');
}

